package com.hu.zhcc.shiro.controller.xsx;


import com.hu.zhcc.shiro.entity.xsx.XsxTCheckitem;
import com.hu.zhcc.shiro.service.xsx.TCheckitemService;
import com.hu.zhcc.shiro.service.xsx.TMemberExaminationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * <p>
 * 会员检查表 前端控制器
 * </p>
 *
 * @author xsx
 * @since 2021-06-21
 */
@RestController
@RequestMapping("/tMemberExamination")
public class TMemberExaminationController {

    @Autowired
    TMemberExaminationService tMemberExaminationService;
    @Autowired
    TCheckitemService tCheckitemService;

    @PostMapping("/{hyid}")
    private List<XsxTCheckitem> queryRqfl(@PathVariable("hyid") Integer hyid){
        System.out.println(tCheckitemService.getTjxxByHyid(hyid).size());
        return tCheckitemService.getTjxxByHyid(hyid);
    }

}

